package cqie.edu.homework2.mapper;

import cqie.edu.homework2.domain.po.TUserDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author 86182
* @description 针对表【t_user_detail(用户详细信息表)】的数据库操作Mapper
* @createDate 2025-03-26 17:59:26
* @Entity cqie.edu.homework2.domain.po.TUserDetail
*/
public interface TUserDetailMapper extends BaseMapper<TUserDetail> {


    @Select("SELECT * FROM t_user_detail WHERE user_id = #{userId}")
    TUserDetail selectByUserId(Long userId);
}




